Skip to content

fix sync order adjustment - #607

Open
svt01 wants to merge 18 commits into
mainfrom
fix-sync-order-adjustment-v2
Open

svt01 wants to merge 18 commits into
mainfrom
fix-sync-order-adjustment-v2

Conversation

@svt01

@svt01 svt01 commented Sep 18, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@svt01

svt01 commented Sep 18, 2026 •

Copy link
Copy Markdown
Contributor Author

App Install wave
image

App Config wave
image

Co-wave grouping preserved
image

@svt01

svt01 commented Sep 21, 2026

Copy link
Copy Markdown
Contributor Author

The new sync-wave based applications deployment status is given below

SYNC_WAVE RESOURCE NAMESPACE STATUS
-1002 NetworkPolicy/pre-jreporter-db2-db-test17850-facilities-np db2u-test17850  
-1002 Role/pre-jreporter-db2-db-test17850-facilities-role db2u-test17850  
-1002 Secret/pre-jreporter-db2-db-test17850-facilities-devopsuri db2u-test17850  
-1002 NetworkPolicy/pre-jreporter-db2-db-test17850-iot-np db2u-test17850  
-1002 Role/pre-jreporter-db2-db-test17850-iot-role db2u-test17850  
-1002 Secret/pre-jreporter-db2-db-test17850-iot-devopsuri db2u-test17850  
-1002 NetworkPolicy/pre-jreporter-db2-db-test17850-manage-np db2u-test17850  
-1002 Role/pre-jreporter-db2-db-test17850-manage-role db2u-test17850  
-1002 Secret/pre-jreporter-db2-db-test17850-manage-devopsuri db2u-test17850  
-1002 NetworkPolicy/pre-jreporter-ibm-mas-suite-test17850-np mas-test17850-core  
-1002 Role/pre-jreporter-ibm-mas-suite-test17850-role mas-test17850-core  
-1002 Secret/pre-jreporter-ibm-mas-suite-test17850-devopsuri mas-test17850-core  
-1002 NetworkPolicy/pre-jreporter-ibm-mas-bas-config-system-test17850-np mas-test17850-core  
-1002 Role/pre-jreporter-ibm-mas-bas-config-system-test17850-role mas-test17850-core  
-1002 Secret/pre-jreporter-ibm-mas-bas-config-system-test17850-devopsuri mas-test17850-core  
-1002 NetworkPolicy/pre-jreporter-ibm-mas-mongo-config-system-test17850-np mas-test17850-core  
-1002 Role/pre-jreporter-ibm-mas-mongo-config-system-test17850-role mas-test17850-core  
-1002 Secret/pre-jreporter-ibm-mas-mongo-config-system-test17850-devopsuri mas-test17850-core  
-1002 NetworkPolicy/pre-jreporter-ibm-mas-sls-config-system-test17850-np mas-test17850-core  
-1002 Role/pre-jreporter-ibm-mas-sls-config-system-test17850-role mas-test17850-core  
-1002 Secret/pre-jreporter-ibm-mas-sls-config-system-test17850-devopsuri mas-test17850-core  
-1001 RoleBinding/pre-jreporter-db2-db-test17850-facilities-rb db2u-test17850  
-1001 ServiceAccount/pre-jreporter-db2-db-test17850-facilities-sa db2u-test17850  
-1001 RoleBinding/pre-jreporter-db2-db-test17850-iot-rb db2u-test17850  
-1001 ServiceAccount/pre-jreporter-db2-db-test17850-iot-sa db2u-test17850  
-1001 RoleBinding/pre-jreporter-db2-db-test17850-manage-rb db2u-test17850  
-1001 ServiceAccount/pre-jreporter-db2-db-test17850-manage-sa db2u-test17850  
-1001 RoleBinding/pre-jreporter-ibm-mas-suite-test17850-rb mas-test17850-core  
-1001 ServiceAccount/pre-jreporter-ibm-mas-suite-test17850-sa mas-test17850-core  
-1001 RoleBinding/pre-jreporter-ibm-mas-bas-config-system-test17850-rb mas-test17850-core  
-1001 ServiceAccount/pre-jreporter-ibm-mas-bas-config-system-test17850-sa mas-test17850-core  
-1001 RoleBinding/pre-jreporter-ibm-mas-mongo-config-system-test17850-rb mas-test17850-core  
-1001 ServiceAccount/pre-jreporter-ibm-mas-mongo-config-system-test17850-sa mas-test17850-core  
-1001 RoleBinding/pre-jreporter-ibm-mas-sls-config-system-test17850-rb mas-test17850-core  
-1001 ServiceAccount/pre-jreporter-ibm-mas-sls-config-system-test17850-sa mas-test17850-core  
-1000 Job/pre-jreporter-db2-db-test17850-facilities-job db2u-test17850  
-1000 Job/pre-jreporter-db2-db-test17850-iot-job db2u-test17850  
-1000 Job/pre-jreporter-db2-db-test17850-manage-job db2u-test17850  
-1000 Job/pre-jreporter-ibm-mas-suite-test17850-job mas-test17850-core  
-1000 Job/pre-jreporter-ibm-mas-bas-config-system-test17850-job mas-test17850-core  
-1000 Job/pre-jreporter-ibm-mas-mongo-config-system-test17850-job mas-test17850-core  
-1000 Job/pre-jreporter-ibm-mas-sls-config-system-test17850-job mas-test17850-core  
1 ClusterRole/patch-ingress-job-clusterrole-test17850 Synced  
1 NetworkPolicy/sync-role-network-policy mas-test17850-syncres Synced
1 Role/aws-docdb-user-job-role mas-test17850-syncres Synced
1 Secret/aws mas-test17850-syncres Synced
1 Secret/ibm-suite-dns mas-test17850-syncres Synced
1 ServiceAccount/aws-docdb-user-job mas-test17850-syncres Synced
1 ServiceAccount/ibm-suite-certs-job mas-test17850-syncres Synced
1 ServiceAccount/ibm-suite-dns-job mas-test17850-syncres Synced
1 ServiceAccount/patch-ingress-job mas-test17850-syncres Synced
1 ServiceAccount/preinstall-mas-rbac-job mas-test17850-syncres Synced
2 ClusterRoleBinding/ibm-suite-certs-job-cluster-rolebinding-test17850 Synced  
2 ClusterRoleBinding/ibm-suite-dns-job-cluster-rolebinding-test17850 Synced  
2 ClusterRoleBinding/patch-ingress-job-clusterrolebinding-test17850 Synced  
2 ClusterRoleBinding/preinstall-mas-rbac-job-cluster-rolebinding-test17850 Synced  
2 RoleBinding/aws-docdb-user-job-rolebinding mas-test17850-syncres Synced
3 Job/ibm-suite-dns-2173560113 mas-test17850-syncres Synced
10 Application/syncjobs.noble10.test17850 openshift-gitops OutOfSync
61 OperatorGroup/ibm-mas-operator-group db2u-test17850 Synced
61 Secret/ibm-registry db2u-test17850 Synced
62 Subscription/ibm-db2u-operator db2u-test17850 Synced
64 Certificate/db2u-ca-certificate db2u-test17850 Synced
64 Issuer/db2u-ca-issuer db2u-test17850 Synced
100 Application/sls.noble10.test17850 openshift-gitops Synced
101 OperatorGroup/operatorgroup mas-test17850-sls Synced
102 Secret/ibm-entitlement mas-test17850-sls Synced
102 Subscription/ibm-sls mas-test17850-sls Synced
103 Secret/sls-mongo-credentials mas-test17850-sls Synced
104 Secret/ibm-sls-sls-entitlement mas-test17850-sls Synced
105 LicenseService/sls mas-test17850-sls Synced
110 Application/db2u.noble10.test17850 openshift-gitops Synced
110 NetworkPolicy/postsync-ibm-sls-update-sm-np mas-test17850-sls Synced
110 Role/postsync-ibm-sls-update-sm-r mas-test17850-sls Synced
110 Secret/aws mas-test17850-sls Synced
110 ServiceAccount/postsync-ibm-sls-update-sm-sa mas-test17850-sls Synced
111 RoleBinding/postsync-ibm-sls-update-sm-rb mas-test17850-sls Synced
112 Job/postsync-ibm-sls-update-sm-job-3278624465 mas-test17850-sls Synced
120 Issuer/db2u-issuer-db2wh-test17850-facilities db2u-test17850 Synced
120 Issuer/db2u-issuer-db2wh-test17850-iot db2u-test17850 Synced
120 Issuer/db2u-issuer-db2wh-test17850-manage db2u-test17850 Synced
120 Application/db2-db.noble10.test17850.facilities openshift-gitops OutOfSync
120 Application/db2-db.noble10.test17850.iot openshift-gitops OutOfSync
120 Application/db2-db.noble10.test17850.manage openshift-gitops OutOfSync
121 Certificate/db2u-certificate-db2wh-test17850-facilities db2u-test17850 Synced
121 Role/aws-db2-user-job-test17850-facilities-db2wh-test17850-facilities-role-db2 db2u-test17850 Synced
121 Certificate/db2u-certificate-db2wh-test17850-iot db2u-test17850 Synced
121 Role/aws-db2-user-job-test17850-iot-db2wh-test17850-iot-role-db2 db2u-test17850 Synced
121 Certificate/db2u-certificate-db2wh-test17850-manage db2u-test17850 Synced
121 Role/aws-db2-user-job-test17850-manage-db2wh-test17850-manage-role-db2 db2u-test17850 Synced
122 Db2uInstance/db2wh-test17850-facilities db2u-test17850 Synced
122 RoleBinding/aws-db2-user-job-test17850-facilities-db2wh-test17850-facilities-rolebinding-db2 db2u-test17850 Synced
122 Db2uInstance/db2wh-test17850-iot db2u-test17850 Synced
122 RoleBinding/aws-db2-user-job-test17850-iot-db2wh-test17850-iot-rolebinding-db2 db2u-test17850 Synced
122 Db2uInstance/db2wh-test17850-manage db2u-test17850 Synced
122 RoleBinding/aws-db2-user-job-test17850-manage-db2wh-test17850-manage-rolebinding-db2 db2u-test17850 Synced
123 Route/db2u-db2wh-test17850-facilities-tls-route db2u-test17850 OutOfSync
123 Route/db2u-db2wh-test17850-iot-tls-route db2u-test17850 OutOfSync
123 Route/db2u-db2wh-test17850-manage-tls-route db2u-test17850 OutOfSync
126 ConfigMap/db2u-scripts-facilities-db2wh-test17850-facilities-configmap db2u-test17850 OutOfSync
130 CronJob/db2-volatile-runstats-db2wh-test17850-facilities db2u-test17850 OutOfSync
130 Application/suite.noble10.test17850 openshift-gitops Synced
131 NetworkPolicy/postdelete-delete-cr-np mas-test17850-core Synced
131 OperatorGroup/ibm-mas-operator-group mas-test17850-core Synced
131 Role/postdelete-delete-cr-r mas-test17850-core Synced
131 ServiceAccount/postdelete-delete-cr-sa mas-test17850-core Synced
131 Secret/test17850-bas-system-credentials mas-test17850-core Synced
131 Secret/system-mongo-credentials mas-test17850-core OutOfSync
131 Secret/test17850-sls-system-credentials mas-test17850-core Synced
132 RoleBinding/postdelete-delete-cr-rb mas-test17850-core Synced
133 Secret/ibm-entitlement mas-test17850-core Synced
133 Subscription/ibm-mas-operator mas-test17850-core Synced
134 BasCfg/test17850-bas-system mas-test17850-core Synced
134 MongoCfg/test17850-mongo-system mas-test17850-core Synced
134 SlsCfg/test17850-sls-system mas-test17850-core Synced
138 ClusterIssuer/test17850-cis-le-prod OutOfSync  
139 Suite/test17850 mas-test17850-core OutOfSync
140 Application/test17850-bas-system.noble10 openshift-gitops Synced
140 Application/test17850-jdbc-system.noble10 openshift-gitops OutOfSync
140 Application/test17850-jdbc-wsapp-main-facilities.noble10 openshift-gitops OutOfSync
140 Application/test17850-jdbc-wsapp-main-manage.noble10 openshift-gitops OutOfSync
140 Application/test17850-kafka-system.noble10 openshift-gitops OutOfSync
140 Application/test17850-mongo-system.noble10 openshift-gitops Synced
140 Application/test17850-objectstorage-system.noble10 openshift-gitops OutOfSync
140 Application/test17850-sls-system.noble10 openshift-gitops Synced
140 Application/test17850-watsonstudio-system.noble10 openshift-gitops OutOfSync
140 NetworkPolicy/mas-route-np mas-test17850-core OutOfSync
140 Role/mas-route-prereq-role-test17850 mas-test17850-core OutOfSync
140 ServiceAccount/mas-route-sa mas-test17850-core OutOfSync
141 RoleBinding/mas-route-prereq-rb-test17850 mas-test17850-core OutOfSync
142 Job/mas-route-patch-309118477 mas-test17850-core OutOfSync
143 NetworkPolicy/postsync-configtool-oidc-np mas-test17850-core OutOfSync
143 Role/postsync-configtool-oidc-r mas-test17850-core OutOfSync
143 ServiceAccount/postsync-configtool-oidc-sa mas-test17850-core OutOfSync
144 RoleBinding/postsync-configtool-oidc-rb mas-test17850-core OutOfSync
145 Job/postsync-configtool-oidc-job-309446162 mas-test17850-core OutOfSync
200 Application/main.suite.noble10.test17850 openshift-gitops OutOfSync
500 Application/manage.noble10.test17850 openshift-gitops OutOfSync
505 Application/main.manage.noble10.test17850 openshift-gitops OutOfSync
521 Application/facilities.noble10.test17850 openshift-gitops OutOfSync
522 Application/main.facilities.noble10.test17850 openshift-gitops OutOfSync
525 Application/assist.noble10.test17850 openshift-gitops OutOfSync
525 Application/iot.noble10.test17850 openshift-gitops OutOfSync
525 Application/visualinspection.noble10.test17850 openshift-gitops OutOfSync
527 Application/main.assist.noble10.test17850 openshift-gitops OutOfSync
527 Application/main.iot.noble10.test17850 openshift-gitops OutOfSync
527 Application/main.visualinspection.noble10.test17850 openshift-gitops OutOfSync
540 Application/monitor.noble10.test17850 openshift-gitops OutOfSync
540 Application/optimizer.noble10.test17850 openshift-gitops OutOfSync
545 Application/main.monitor.noble10.test17850 openshift-gitops OutOfSync
545 Application/main.optimizer.noble10.test17850 openshift-gitops OutOfSync
555 Application/predict.noble10.test17850 openshift-gitops OutOfSync
558 Application/main.predict.noble10.test17850 openshift-gitops OutOfSync
560 Application/addons.noble10.test17850 openshift-gitops OutOfSync
600 Application/application-admin-rbac.noble10.test17850 openshift-gitops OutOfSync
600 Application/postsyncjobs.noble10.test17850 openshift-gitops OutOfSync

@svt01
svt01 marked this pull request as ready for review September 21, 2026 05:55
@svt01

svt01 commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor Author

test17850

APP_NAME=instance.noble10.test17850
{
  printf "SYNC_WAVE\tRESOURCE\tNAMESPACE\tSTATUS\n"
  oc -n openshift-gitops get application "$APP_NAME" \
    -o jsonpath='{range .status.resources[*]}{.syncWave}{"\t"}{.kind}{"/"}{.name}{"\t"}{.namespace}{"\t"}{.status}{"\n"}{end}' | sort -n
} | column -t -s $'\t'    | grep -E "^[5][0-9]{2}"

image

@svt01

svt01 commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor Author

inst02

APP_NAME=instance.noble10.inst02   
{
  printf "SYNC_WAVE\tRESOURCE\tNAMESPACE\tSTATUS\n"
  oc -n openshift-gitops get application "$APP_NAME" \
    -o jsonpath='{range .status.resources[*]}{.syncWave}{"\t"}{.kind}{"/"}{.name}{"\t"}{.namespace}{"\t"}{.status}{"\n"}{end}' | sort -n
} | column -t -s $'\t'    | grep -E "^[5][0-9]{2}"

image

@svt01

svt01 commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor Author

mcspcpd

image

@svt01

svt01 commented Sep 21, 2026

Copy link
Copy Markdown
Contributor Author

With 9.0.x

APP_NAME=instance.noble10.test17850
{
 printf "SYNC_WAVE\tRESOURCE\tNAMESPACE\tSTATUS\n"
 oc -n openshift-gitops get application "$APP_NAME" \
 -o jsonpath='{range .status.resources[*]}{.syncWave}{"\t"}{.kind}{"/"}{.name}{"\t"}{.namespace}{"\t"}{.status}{"\n"}{end}' | sort -n
} | column -t -s $'\t' | grep -E "^[5][0-9]{2}"
500 Application/manage.noble10.test17850 openshift-gitops OutOfSync
505 Application/main.manage.noble10.test17850 openshift-gitops OutOfSync
521 Application/facilities.noble10.test17850 openshift-gitops OutOfSync
522 Application/main.facilities.noble10.test17850 openshift-gitops OutOfSync
525 Application/assist.noble10.test17850 openshift-gitops OutOfSync
525 Application/iot.noble10.test17850 openshift-gitops OutOfSync
525 Application/visualinspection.noble10.test17850 openshift-gitops OutOfSync
527 Application/main.assist.noble10.test17850 openshift-gitops OutOfSync
527 Application/main.iot.noble10.test17850 openshift-gitops OutOfSync
527 Application/main.visualinspection.noble10.test17850 openshift-gitops OutOfSync
540 Application/monitor.noble10.test17850 openshift-gitops OutOfSync
540 Application/optimizer.noble10.test17850 openshift-gitops OutOfSync
545 Application/main.monitor.noble10.test17850 openshift-gitops OutOfSync
545 Application/main.optimizer.noble10.test17850 openshift-gitops OutOfSync
555 Application/predict.noble10.test17850 openshift-gitops OutOfSync
558 Application/main.predict.noble10.test17850 openshift-gitops OutOfSync
560 Application/addons.noble10.test17850 openshift-gitops OutOfSync

With 9.2.x

APP_NAME=instance.noble10.test17850
{
 printf "SYNC_WAVE\tRESOURCE\tNAMESPACE\tSTATUS\n"
 oc -n openshift-gitops get application "$APP_NAME" \
 -o jsonpath='{range .status.resources[*]}{.syncWave}{"\t"}{.kind}{"/"}{.name}{"\t"}{.namespace}{"\t"}{.status}{"\n"}{end}' | sort -n
} | column -t -s $'\t' | grep -E "^[5][0-9]{2}"
500  Application/manage.noble10.test17850 openshift-gitops OutOfSync
505  Application/main.manage.noble10.test17850 openshift-gitops OutOfSync
521  Application/facilities.noble10.test17850 openshift-gitops OutOfSync
522  Application/main.facilities.noble10.test17850 openshift-gitops OutOfSync
525  Application/assist.noble10.test17850 openshift-gitops OutOfSync
525  Application/monitor.noble10.test17850 openshift-gitops OutOfSync
525  Application/visualinspection.noble10.test17850 openshift-gitops OutOfSync
527  Application/main.assist.noble10.test17850 openshift-gitops OutOfSync
527  Application/main.monitor.noble10.test17850 openshift-gitops OutOfSync
527  Application/main.visualinspection.noble10.test17850 openshift-gitops OutOfSync
540  Application/iot.noble10.test17850 openshift-gitops OutOfSync
540  Application/optimizer.noble10.test17850 openshift-gitops OutOfSync
545  Application/main.iot.noble10.test17850 openshift-gitops OutOfSync
545  Application/main.optimizer.noble10.test17850 openshift-gitops OutOfSync
555  Application/predict.noble10.test17850 openshift-gitops OutOfSync
558  Application/main.predict.noble10.test17850 openshift-gitops OutOfSync
560  Application/addons.noble10.test17850 openshift-gitops OutOfSync

Sync wave Application
500 Application/manage.noble10.test17850
505 Application/main.manage.noble10.test17850
521 Application/facilities.noble10.test17850
522 Application/main.facilities.noble10.test17850
525 Application/assist.noble10.test17850
525 Application/iot.noble10.test17850
525 Application/visualinspection.noble10.test17850
527 Application/main.assist.noble10.test17850
527 Application/main.iot.noble10.test17850
527 Application/main.visualinspection.noble10.test17850
540 Application/monitor.noble10.test17850
540 Application/optimizer.noble10.test17850
545 Application/main.monitor.noble10.test17850
545 Application/main.optimizer.noble10.test17850
555 Application/predict.noble10.test17850
558 Application/main.predict.noble10.test17850
560 Application/addons.noble10.test17850
Sync wave Application
500 Application/manage.noble10.test17850
505 Application/main.manage.noble10.test17850
521 Application/facilities.noble10.test17850
522 Application/main.facilities.noble10.test17850
525 Application/assist.noble10.test17850
525 Application/monitor.noble10.test17850
525 Application/visualinspection.noble10.test17850
527 Application/main.assist.noble10.test17850
527 Application/main.monitor.noble10.test17850
527 Application/main.visualinspection.noble10.test17850
540 Application/iot.noble10.test17850
540 Application/optimizer.noble10.test17850
545 Application/main.iot.noble10.test17850
545 Application/main.optimizer.noble10.test17850
555 Application/predict.noble10.test17850
558 Application/main.predict.noble10.test17850
560 Application/addons.noble10.test17850

@svt01

svt01 commented Sep 21, 2026

Copy link
Copy Markdown
Contributor Author
image

@svt01
svt01 requested a review from mnivedithaa September 23, 2026 06:31

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant